import request from '../../../components/Request';

export async function listApp(name) {
  return await request.post({
    url: './app/listApp.do',
    data: { name: name },
  });
}

export async function saveApp(data) {
  return await request.post({
    url: './app/saveApp.do',
    data: data,
  });
}

export async function deleteApp(id) {
  return await request.post({
    url: './app/deleteApp.do',
    data: { id: id },
  });
}
